/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package model.provider;

import java.util.ArrayList;
import java.util.Collection;

import model.util.ModelAdapterFactory;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.edit.provider.ChangeNotifier;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
import org.eclipse.emf.edit.provider.IChangeNotifier;
import org.eclipse.emf.edit.provider.IDisposable;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.INotifyChangedListener;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;

/**
 * This is the factory that is used to provide the interfaces needed to support Viewers.
 * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}.
 * The adapters also support Eclipse property sheets.
 * Note that most of the adapters are shared among multiple instances.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public class ModelItemProviderAdapterFactory extends ModelAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
	/**
	 * This keeps track of the root adapter factory that delegates to this adapter factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ComposedAdapterFactory parentAdapterFactory;

	/**
	 * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected IChangeNotifier changeNotifier = new ChangeNotifier();

	/**
	 * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected Collection<Object> supportedTypes = new ArrayList<Object>();

	/**
	 * This constructs an instance.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ModelItemProviderAdapterFactory() {
		supportedTypes.add(IEditingDomainItemProvider.class);
		supportedTypes.add(IStructuredItemContentProvider.class);
		supportedTypes.add(ITreeItemContentProvider.class);
		supportedTypes.add(IItemLabelProvider.class);
		supportedTypes.add(IItemPropertySource.class);
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.Workspace} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected WorkspaceItemProvider workspaceItemProvider;

	/**
	 * This creates an adapter for a {@link model.Workspace}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createWorkspaceAdapter() {
		if (workspaceItemProvider == null) {
			workspaceItemProvider = new WorkspaceItemProvider(this);
		}

		return workspaceItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.SeriesPackage} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected SeriesPackageItemProvider seriesPackageItemProvider;

	/**
	 * This creates an adapter for a {@link model.SeriesPackage}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createSeriesPackageAdapter() {
		if (seriesPackageItemProvider == null) {
			seriesPackageItemProvider = new SeriesPackageItemProvider(this);
		}

		return seriesPackageItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.Serie} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected SerieItemProvider serieItemProvider;

	/**
	 * This creates an adapter for a {@link model.Serie}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createSerieAdapter() {
		if (serieItemProvider == null) {
			serieItemProvider = new SerieItemProvider(this);
		}

		return serieItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.Actor} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ActorItemProvider actorItemProvider;

	/**
	 * This creates an adapter for a {@link model.Actor}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createActorAdapter() {
		if (actorItemProvider == null) {
			actorItemProvider = new ActorItemProvider(this);
		}

		return actorItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.ActorsPackage} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ActorsPackageItemProvider actorsPackageItemProvider;

	/**
	 * This creates an adapter for a {@link model.ActorsPackage}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createActorsPackageAdapter() {
		if (actorsPackageItemProvider == null) {
			actorsPackageItemProvider = new ActorsPackageItemProvider(this);
		}

		return actorsPackageItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.EpisodesPackage} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected EpisodesPackageItemProvider episodesPackageItemProvider;

	/**
	 * This creates an adapter for a {@link model.EpisodesPackage}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createEpisodesPackageAdapter() {
		if (episodesPackageItemProvider == null) {
			episodesPackageItemProvider = new EpisodesPackageItemProvider(this);
		}

		return episodesPackageItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.SeasonPackage} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected SeasonPackageItemProvider seasonPackageItemProvider;

	/**
	 * This creates an adapter for a {@link model.SeasonPackage}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createSeasonPackageAdapter() {
		if (seasonPackageItemProvider == null) {
			seasonPackageItemProvider = new SeasonPackageItemProvider(this);
		}

		return seasonPackageItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.Season} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected SeasonItemProvider seasonItemProvider;

	/**
	 * This creates an adapter for a {@link model.Season}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createSeasonAdapter() {
		if (seasonItemProvider == null) {
			seasonItemProvider = new SeasonItemProvider(this);
		}

		return seasonItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.Episode} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected EpisodeItemProvider episodeItemProvider;

	/**
	 * This creates an adapter for a {@link model.Episode}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createEpisodeAdapter() {
		if (episodeItemProvider == null) {
			episodeItemProvider = new EpisodeItemProvider(this);
		}

		return episodeItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.Entity} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected EntityItemProvider entityItemProvider;

	/**
	 * This creates an adapter for a {@link model.Entity}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createEntityAdapter() {
		if (entityItemProvider == null) {
			entityItemProvider = new EntityItemProvider(this);
		}

		return entityItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.EntityDescription} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected EntityDescriptionItemProvider entityDescriptionItemProvider;

	/**
	 * This creates an adapter for a {@link model.EntityDescription}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createEntityDescriptionAdapter() {
		if (entityDescriptionItemProvider == null) {
			entityDescriptionItemProvider = new EntityDescriptionItemProvider(this);
		}

		return entityDescriptionItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.EntityProfile} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected EntityProfileItemProvider entityProfileItemProvider;

	/**
	 * This creates an adapter for a {@link model.EntityProfile}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createEntityProfileAdapter() {
		if (entityProfileItemProvider == null) {
			entityProfileItemProvider = new EntityProfileItemProvider(this);
		}

		return entityProfileItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.OtherSerie} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected OtherSerieItemProvider otherSerieItemProvider;

	/**
	 * This creates an adapter for a {@link model.OtherSerie}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createOtherSerieAdapter() {
		if (otherSerieItemProvider == null) {
			otherSerieItemProvider = new OtherSerieItemProvider(this);
		}

		return otherSerieItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.OtherFilm} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected OtherFilmItemProvider otherFilmItemProvider;

	/**
	 * This creates an adapter for a {@link model.OtherFilm}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createOtherFilmAdapter() {
		if (otherFilmItemProvider == null) {
			otherFilmItemProvider = new OtherFilmItemProvider(this);
		}

		return otherFilmItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.Image} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ImageItemProvider imageItemProvider;

	/**
	 * This creates an adapter for a {@link model.Image}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createImageAdapter() {
		if (imageItemProvider == null) {
			imageItemProvider = new ImageItemProvider(this);
		}

		return imageItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.AssociationActorSerie} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected AssociationActorSerieItemProvider associationActorSerieItemProvider;

	/**
	 * This creates an adapter for a {@link model.AssociationActorSerie}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createAssociationActorSerieAdapter() {
		if (associationActorSerieItemProvider == null) {
			associationActorSerieItemProvider = new AssociationActorSerieItemProvider(this);
		}

		return associationActorSerieItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.Role} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected RoleItemProvider roleItemProvider;

	/**
	 * This creates an adapter for a {@link model.Role}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createRoleAdapter() {
		if (roleItemProvider == null) {
			roleItemProvider = new RoleItemProvider(this);
		}

		return roleItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.Association} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected AssociationItemProvider associationItemProvider;

	/**
	 * This creates an adapter for a {@link model.Association}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createAssociationAdapter() {
		if (associationItemProvider == null) {
			associationItemProvider = new AssociationItemProvider(this);
		}

		return associationItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.AssociationActorToSerie} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected AssociationActorToSerieItemProvider associationActorToSerieItemProvider;

	/**
	 * This creates an adapter for a {@link model.AssociationActorToSerie}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createAssociationActorToSerieAdapter() {
		if (associationActorToSerieItemProvider == null) {
			associationActorToSerieItemProvider = new AssociationActorToSerieItemProvider(this);
		}

		return associationActorToSerieItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.AssociationSerieToActor} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected AssociationSerieToActorItemProvider associationSerieToActorItemProvider;

	/**
	 * This creates an adapter for a {@link model.AssociationSerieToActor}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createAssociationSerieToActorAdapter() {
		if (associationSerieToActorItemProvider == null) {
			associationSerieToActorItemProvider = new AssociationSerieToActorItemProvider(this);
		}

		return associationSerieToActorItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.SeriesPackSerie} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected SeriesPackSerieItemProvider seriesPackSerieItemProvider;

	/**
	 * This creates an adapter for a {@link model.SeriesPackSerie}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createSeriesPackSerieAdapter() {
		if (seriesPackSerieItemProvider == null) {
			seriesPackSerieItemProvider = new SeriesPackSerieItemProvider(this);
		}

		return seriesPackSerieItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.SeasonsPackSeason} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected SeasonsPackSeasonItemProvider seasonsPackSeasonItemProvider;

	/**
	 * This creates an adapter for a {@link model.SeasonsPackSeason}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createSeasonsPackSeasonAdapter() {
		if (seasonsPackSeasonItemProvider == null) {
			seasonsPackSeasonItemProvider = new SeasonsPackSeasonItemProvider(this);
		}

		return seasonsPackSeasonItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.EpisodesPackEpisode} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected EpisodesPackEpisodeItemProvider episodesPackEpisodeItemProvider;

	/**
	 * This creates an adapter for a {@link model.EpisodesPackEpisode}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createEpisodesPackEpisodeAdapter() {
		if (episodesPackEpisodeItemProvider == null) {
			episodesPackEpisodeItemProvider = new EpisodesPackEpisodeItemProvider(this);
		}

		return episodesPackEpisodeItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.ActorPackActor} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ActorPackActorItemProvider actorPackActorItemProvider;

	/**
	 * This creates an adapter for a {@link model.ActorPackActor}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createActorPackActorAdapter() {
		if (actorPackActorItemProvider == null) {
			actorPackActorItemProvider = new ActorPackActorItemProvider(this);
		}

		return actorPackActorItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.SerieRole} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected SerieRoleItemProvider serieRoleItemProvider;

	/**
	 * This creates an adapter for a {@link model.SerieRole}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createSerieRoleAdapter() {
		if (serieRoleItemProvider == null) {
			serieRoleItemProvider = new SerieRoleItemProvider(this);
		}

		return serieRoleItemProvider;
	}

	/**
	 * This keeps track of the one adapter used for all {@link model.Aggregation} instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected AggregationItemProvider aggregationItemProvider;

	/**
	 * This creates an adapter for a {@link model.Aggregation}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter createAggregationAdapter() {
		if (aggregationItemProvider == null) {
			aggregationItemProvider = new AggregationItemProvider(this);
		}

		return aggregationItemProvider;
	}

	/**
	 * This returns the root adapter factory that contains this factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ComposeableAdapterFactory getRootAdapterFactory() {
		return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
	}

	/**
	 * This sets the composed adapter factory that contains this factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
		this.parentAdapterFactory = parentAdapterFactory;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public boolean isFactoryForType(Object type) {
		return supportedTypes.contains(type) || super.isFactoryForType(type);
	}

	/**
	 * This implementation substitutes the factory itself as the key for the adapter.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Adapter adapt(Notifier notifier, Object type) {
		return super.adapt(notifier, this);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public Object adapt(Object object, Object type) {
		if (isFactoryForType(type)) {
			Object adapter = super.adapt(object, type);
			if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) {
				return adapter;
			}
		}

		return null;
	}

	/**
	 * This adds a listener.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void addListener(INotifyChangedListener notifyChangedListener) {
		changeNotifier.addListener(notifyChangedListener);
	}

	/**
	 * This removes a listener.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void removeListener(INotifyChangedListener notifyChangedListener) {
		changeNotifier.removeListener(notifyChangedListener);
	}

	/**
	 * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void fireNotifyChanged(Notification notification) {
		changeNotifier.fireNotifyChanged(notification);

		if (parentAdapterFactory != null) {
			parentAdapterFactory.fireNotifyChanged(notification);
		}
	}

	/**
	 * This disposes all of the item providers created by this factory. 
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void dispose() {
		if (workspaceItemProvider != null) workspaceItemProvider.dispose();
		if (seriesPackageItemProvider != null) seriesPackageItemProvider.dispose();
		if (serieItemProvider != null) serieItemProvider.dispose();
		if (actorItemProvider != null) actorItemProvider.dispose();
		if (actorsPackageItemProvider != null) actorsPackageItemProvider.dispose();
		if (episodesPackageItemProvider != null) episodesPackageItemProvider.dispose();
		if (seasonPackageItemProvider != null) seasonPackageItemProvider.dispose();
		if (seasonItemProvider != null) seasonItemProvider.dispose();
		if (episodeItemProvider != null) episodeItemProvider.dispose();
		if (entityItemProvider != null) entityItemProvider.dispose();
		if (entityDescriptionItemProvider != null) entityDescriptionItemProvider.dispose();
		if (entityProfileItemProvider != null) entityProfileItemProvider.dispose();
		if (otherSerieItemProvider != null) otherSerieItemProvider.dispose();
		if (otherFilmItemProvider != null) otherFilmItemProvider.dispose();
		if (imageItemProvider != null) imageItemProvider.dispose();
		if (associationActorSerieItemProvider != null) associationActorSerieItemProvider.dispose();
		if (roleItemProvider != null) roleItemProvider.dispose();
		if (associationItemProvider != null) associationItemProvider.dispose();
		if (associationActorToSerieItemProvider != null) associationActorToSerieItemProvider.dispose();
		if (associationSerieToActorItemProvider != null) associationSerieToActorItemProvider.dispose();
		if (seriesPackSerieItemProvider != null) seriesPackSerieItemProvider.dispose();
		if (seasonsPackSeasonItemProvider != null) seasonsPackSeasonItemProvider.dispose();
		if (episodesPackEpisodeItemProvider != null) episodesPackEpisodeItemProvider.dispose();
		if (actorPackActorItemProvider != null) actorPackActorItemProvider.dispose();
		if (serieRoleItemProvider != null) serieRoleItemProvider.dispose();
		if (aggregationItemProvider != null) aggregationItemProvider.dispose();
	}

}
